#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL
{
     // <summary> 
	// ! The payoff can be at exercise (the default) or at expiry
	// </summary>
    [Guid ("16AE478F-1FD2-4476-9D46-5D315F51F299"),ComVisible(true)]
	public interface IEarlyExercise : Cephei.QL.IExercise
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean PayoffAtExpiry {get;}
    }

    // <summary> 
	// ! The payoff can be at exercise (the default) or at expiry Factory
	// </summary>
   	[ComVisible(true)]
    public interface IEarlyExercise_Factory // : Collection_Factory<IEarlyExercise, ICell<IEarlyExercise>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IEarlyExercise Create (QL.Exercise.TypeEnum type, Microsoft.FSharp.Core.FSharpOption<Boolean> payoffAtExpiry);
    }
}

